package com.ashin.entity;

import lombok.Data;
import org.springframework.data.neo4j.core.schema.GeneratedValue;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

import java.io.Serializable;

/**
 * @author Ashin
 */
@Data
@Node
public class Account implements Serializable {

    @Id
    private String accountId;

    @Property
    private String name;
}
